﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JControlEx.Common
{
    /// <summary>
    /// A enumeration that identify the getting property mode.
    /// </summary>
    public enum ViewMode
    {
        /// <summary>
        /// Automatically list all the property, related configuration: ShowMemberLevel, PropertySortBy
        /// </summary>
        Automatically,

        /// <summary>
        /// Using user configuration to show the properties.
        /// </summary>
        UserConfig,

        /// <summary>
        /// Using attributes to show the properties.
        /// </summary>
        AttributeSpecific
    }

    /// <summary>
    /// Specific the view type of the viewer.
    /// </summary>
    public enum ViewType
    {
        /// <summary>
        /// Show all properties as treeview.
        /// </summary>
        TreeView,

        /// <summary>
        /// Show all properties as plain view.
        /// </summary>
        PlainView,

        /// <summary>
        /// All properties are list in a view. Properties are like this: Class.Property1.Pro
        /// </summary>
        PlainTreeView
    }

}
